import Vue from "vue";

import VueRouter from "vue-router";

import TheMain from '../view/TheMain'

import MyLogin from '../view/MyLogin'

import Register from '../view/Register'


Vue.use(VueRouter);

export default new VueRouter({
  routes:[

    {
      path:'/MyLogin',
      name:'MyLogin',
      component: MyLogin
    },
    {
      path:'/TheMain',
      name:'TheMain',
      component: TheMain
    },
    {
      path:'/Register',
      name:'Register',
      component: Register
    }
  ]
});
